package com.ruoyi.erp.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;



/**
 * 商品视图对象 base_inventory
 *
 * @author chenyun
 * @date 2022-03-13
 */
@Data
@ApiModel("商品视图对象")
@ExcelIgnoreUnannotated
public class InventoryVo {

	private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
	@ExcelProperty(value = "编号")
	@ApiModelProperty("编号")
	private Long id;
    /**
     * 商品根级类型
     */
	@ExcelProperty(value = "商品根级类型")
	@ApiModelProperty("商品根级类型")
	private Long invRootTypeId;
    /**
     * 商品类型
     */
	@ExcelProperty(value = "商品类型")
	@ApiModelProperty("商品类型")
	private Long invTypeId;
    /**
     * 编码
     */
	@ExcelProperty(value = "编码")
	@ApiModelProperty("编码")
	private String invCode;
    /**
     * 名称
     */
	@ExcelProperty(value = "名称")
	@ApiModelProperty("名称")
	private String invName;
    /**
     * 型号
     */
    @ExcelProperty(value = "型号", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_inv_model")
	@ApiModelProperty("型号")
	private String invModel;
    /**
     * 规格
     */
    @ExcelProperty(value = "规格", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_inv_spac")
	@ApiModelProperty("规格")
	private String invSpac;
    /**
     * 可拆分
     */
    @ExcelProperty(value = "可拆分", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_yes_no")
	@ApiModelProperty("可拆分")
	private String separable;
    /**
     * 基本单位
     */
    @ExcelProperty(value = "基本单位", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "base_measure_unit")
	@ApiModelProperty("基本单位")
	private String basicUnitCode;
    /**
     * 单位组
     */
	@ExcelProperty(value = "单位组")
	@ApiModelProperty("单位组")
	private Long groupUnitCode;
    /**
     * 计价方式
     */
    @ExcelProperty(value = "计价方式", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "base_value_type")
	@ApiModelProperty("计价方式")
	private String valueType;
    /**
     * 机构id
     */
	@ExcelProperty(value = "机构id")
	@ApiModelProperty("机构id")
	private Long orgId;
    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_normal_disable")
	@ApiModelProperty("状态")
	private String status;
    /**
     * 备注
     */
	@ExcelProperty(value = "备注")
	@ApiModelProperty("备注")
	private String remark;

}
